package br.mikhas.lang.struct;

public class AbstractAccessibleStructure {
	/**
	 * Field access flags
	 */
	protected int flags = Flags.DEFAULT;

	public void setFlags(int flags) {
		this.flags = flags;
	}

	public void addFlags(int flags) {
		this.flags |= flags;
	}

	public void removeFlags(int flags) {
		flags ^= flags;
		this.flags &= flags;
	}
}
